function Pos(SubStr, S: String): Integer;
Searches for Substr within S and returns an integer value that is the index of the first character of Substr within S.If Substr is not found, Pos returns zero.